﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WpfHexaEditor.Core;

namespace NesEmu.Explorer.Controls
{
    /// <summary>
    /// Interaction logic for NesHexEditor.xaml
    /// </summary>
    public partial class NesHexEditor
    {
        //private static readonly CustomBackgroundBlock[] CustomBackgroudBlocks =
        //[
        //    new CustomBackgroundBlock(0, 16, new SolidColorBrush(Colors.LightGreen), "NES header."),
        //];

        public NesHexEditor()
        {
            InitializeComponent();
            editor.FontFamily = new FontFamily("Cascadia Code, Consolas, Courier New");
            editor.ShowByteToolTip = true;
            editor.ReadOnlyMode = true;
            editor.ZoomScale = 1.2;
            // editor.CustomBackgroundBlockItems.AddRange(CustomBackgroudBlocks);
        }

        public string FileName
        {
            get => editor.FileName;
            set => editor.FileName = value;
        }
    }
}
